package com.example.hand.mybatis;

import com.example.hand.mybatis.config.MybatisPerporties;
import org.springframework.stereotype.Service;


public class MeMybatisService {

    MybatisPerporties mybatisPerporties;

    public MybatisPerporties mybatisPerporties(){
        return mybatisPerporties;
    }

    public String sayMybatisPerportiesDbName(String dbName){
        mybatisPerporties.setDbName(dbName);

        return mybatisPerporties.getDbName();
    }

    public String getMybatisPerportiesLocalUrl(){

        return mybatisPerporties.getLocalUrl();
    }
}
